package world.snowcrystal.service;


import world.snowcrystal.dao.Article;
import world.snowcrystal.exception.ArticleNotFoundNormalBaseException;

import java.util.List;

public interface ArticleProvideService {


    List<Article> getArticlesByViewCountAsc(int topN);

    List<Article> getArticlesByViewCountDesc(int topN);

    Article getArticleById(long id) throws ArticleNotFoundNormalBaseException;



}
